package com.flxz.user.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 点赞VO
 * 
 * @author flxz
 * @date 2025-09-14
 */
public class LikeVO
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 目标类型（1主题 2回复） */
    private String targetType;

    /** 目标ID */
    private Long targetId;

    /** 点赞类型（1点赞 2踩） */
    private String likeType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public String getLikeType() {
        return likeType;
    }

    public void setLikeType(String likeType) {
        this.likeType = likeType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
